package com.wf.course.service.impl;

import com.wf.course.dao.IAppVersionMapper;
import com.wf.course.model.comm.AppVersion;
import com.wf.course.service.IAppVersionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional(rollbackFor = Exception.class)
public class IAppVersionServiceImpl implements IAppVersionService {

    @Autowired
    private IAppVersionMapper appVersionMapper;

    @Override
    public List<AppVersion> list() {
        return appVersionMapper.list();
    }

    @Override
    public Integer update(AppVersion model) {
        return appVersionMapper.update(model);
    }
}
